
import Find from "@/views/find.vue";
import Homepage from '@/views/homepage.vue'
import My from '@/views/my.vue'
import Particulars from '@/views/particulars.vue'
import Subject from '@/views/subject.vue'

import Content from '@/views/content.vue'

const routes = [
  {
    name : 'subject',
    path: '/',
    component: Subject,
    redirect: 'homepage',
    children: [
      {
        name : 'homepage',
        path: '/homepage',
        component : Homepage
      },
      {
        name : 'find',
        path: '/find',
        component : Find
      },
      {
        name : 'particulars',
        path: '/particulars',
        component : Particulars
      },
      {
        name : 'my',
        path: '/my',
        component : My
      },
    ]
  },
  {
    name : 'content',
    path: '/content',
    component : Content
  }
]


export default routes
